<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="com.webapp.model.Advertisement, java.util.List" %>
<!-- include moo talk header file -->
<%@ include file="MooTalkHeader.jsp" %>

		<div id="site_content_text">
			<% 
				String x = request.getParameter("advertisement"); 
				if(x != null) {
					
					if(x.equals("created")) {
						%>
							<p style="color:red;">
								Advertisement Created!
							</p>
						<%
					}
					
					if(x.equals("deleted")) {
						%>
							<p style="color:red;">
								Advertisement was removed!
							</p>
						<%
					}
					
					if(x.equals("disable")) {
						%>
							<p style="color:red;">
								You do not have this function!
							</p>
						<%
					}
					
					if(x.equals("error")) {
						%>
							<p style="color:red;">
								There was an error creating the advertisement!
							</p>
						<%
					}
					
					if(x.equals("no advertisements")) {
						%>
							<p style="color:red;">
								Sorry you have no advertisements!
							</p>
						<%
					}
				} 
			%>
			

			<h2>Add, Edit and Delete information for an employee</h2>
			<form action="EmployeeList.do" method="post">
				<input type="submit" class="btn" value="Manage Emplpyees!"/>
			</form>
			
			<h2>Obtain a sales report for a particular month</h2>
			<form action="SalesReport.do" method="post">
				Month: (EX: For December input 12)<input type="text" name="MONTH" value=""/>
				<input type="submit" class="btn" value="Get Sales Report"/>
			</form>
			
			<h2>Produce a comprehensive listing of all items being advertised on the site</h2>
			<form action="ListOfAds.do" method="post">
				<input type="submit" class="btn" value="List of Ads!"/>
			</form>
			
			<h2>Produce a list of transactions by item name or by customer name</h2>
			<form action="Transactions.jsp" method="post">
				<input type="submit" class="btn" value="Get Transaction!"/>
			</form>
			
			<h2>Produce a summary listing of revenue generated by a particular item, item type, or customer</h2>
			<form action="ItemSummary.do" method="post">
				<input type="text" name="ItemSum"/><br/>
				<input type="submit" class="btn" value="Item Revenue"/>
			</form>
			<br/>
			
			<form action="CustomerSummary.do" method="post">
				First Name: <input type="text" name="CustomerFirst"/><br/>
				Last Name:  <input type="text" name="CustomerLast"/><br/>
				<input type="submit" class="btn" value="Customer Revenue"/>
			</form>
			
			<br/>
			<form action="ItemTypeSummary.do" method="post">
				<input type="text" name="TypeSum"/><br/>
				<input type="submit" class="btn" value="Item Type Revenue"/>
			</form>
			
			<h2>Determine which employee representative generated most total revenue</h2>
			<form action="CustRepRevenue.do" method="post">
				<input type="submit" class="btn" value="Employee who made the MULA!"/>
			</form>
			
			
			<h2>Produce a list of all customers who have purchased a particular item</h2>
			<form action="CustomerItemList.do" method="post">
				ITEM Name: <input type="" name="ITEMID"value=""/>
				<input type="submit" class="btn" value="Customer Purchases!"/>
			</form>
			
			<h2>Produce a list of most active items</h2>
			<form action="ActiveItemList.jsp" method="post">
				<input type="submit" class="btn" value="Customer Purchases!"/>
			</form>
			
		</div>
		
<!--  include moo talk footer file -->
<%@ include file="MooTalkFooter.jsp" %>
